import Mock from 'mockjs'
export default {
    getHomeData: () => {
        let randNum = []
        for (let i = 0; i < 5; i++) {
            randNum.push(Math.floor(Math.random() * 9) + 1)
        }
        let aaa=randNum.join("")
        
        return {
            code: 200,
            token: Mock.Random.string(32),
            captchaImg: Mock.Random.dataImage("120x40", aaa),
            checknum :aaa
        }
    }
}

